import {Component, OnInit, ViewEncapsulation} from '@angular/core';

@Component({
  selector: 'app-left-navigation',
  templateUrl: './left-navigation.component.html',
  styleUrls: ['./left-navigation.component.scss'],
  encapsulation: ViewEncapsulation.None,
})
export class LeftNavigationComponent implements OnInit {

  constructor() { }

  ngOnInit(): void {
  }
  menuList: any[] = [
    {
      path: '1',
      title: '工作台',
      icon: 'fa-dashboard',
      children: [],
    },
    {
      path: '2',
      title: '会员管理',
      icon: 'fa-user-md',
      children: [
        {
          path: '/2-1',
          title: '会员档案',
          linkUrl: 'member.html',
          children: [],
        },
        {
          path: '/2-2',
          title: '体检上传',
          children: [],
        },
        {
          path: '/2-3',
          title: '会员统计',
          linkUrl: 'all-item-list.html',
          children: [],
        },
      ],
    },
    {
      path: '3',
      title: '预约管理',
      icon: 'fa-tty',
      children: [
        {
          path: '/3-1',
          title: '预约列表',
          linkUrl: 'ordersettinglist.html',
          children: [],
        },
        {
          path: '/3-2',
          title: '预约设置',
          linkUrl: 'ordersetting.html',
          children: [],
        },
        {
          path: '/3-3',
          title: '套餐管理',
          linkUrl: 'setmeal.html',
          children: [],
        },
        {
          path: '/3-4',
          title: '检查组管理',
          linkUrl: 'checkgroup.html',
          children: [],
        },
        {
          path: '/3-5',
          title: '检查项管理',
          linkUrl: 'checkitem.html',
          children: [],
        },
      ],
    },
    {
      path: '4',
      title: '健康评估',
      icon: 'fa-stethoscope',
      children: [
        {
          path: '/4-1',
          title: '中医体质辨识',
          linkUrl: 'all-medical-list.html',
          children: [],
        },
      ],
    },
    {
      path: '5', // 菜单项所对应的路由路径
      title: '统计分析', // 菜单项名称
      icon: 'fa-heartbeat',
      children: [
        // 是否有子菜单，若没有，则为[]
        {
          path: '/5-1',
          title: '工作量统计',
          linkUrl: 'all-medical-list.html',
          children: [],
        },
      ],
    },
  ];

}
